const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  filenameHashing: true,
  productionSourceMap: false,
  devServer: {
    host: '0.0.0.0',
    port: 80,
    historyApiFallback: true,
    allowedHosts: ['127.0.0.1', '365d.ink', 'localhost','0,0,0,0'],
    client: {
      overlay: false,
    },

    proxy: {
      '/api': {
        target: 'http://127.0.0.1:5080',
        changeOrigin: true,
      },
    }
  }
})
